package com.acme.bankapp.exceptions.bank;

public class NotEnoughFundsException extends BankException {
    private double amount;

    public double getAmount() {
        return amount;
    }

    public NotEnoughFundsException(double amount, String message) {
        super(message);
        this.amount = amount;
    }

    public NotEnoughFundsException(double amount) {
        super();
        this.amount = amount;
    }

}


